<template>
  <ClientOnly>
    <div
      v-if="loadingStore.isLoading"
      class="fixed inset-0 flex items-center justify-center z-9999"
    >
      <ui-loading></ui-loading>
    </div>
  </ClientOnly>
</template>

<script setup lang="ts">
import { useLoadingStore } from "~/stores/loading";

const loadingStore = useLoadingStore();
</script>


